package com.daohang361.ui.interfaces;

import com.daohang361.imqq.Asycore.QQUser;

public class WebQQLogin implements Login {
private static WebQQLogin instance;
	@Override
	public boolean login(QQUser user) {
//		
//		boolean isLogin=new QQClient().Login(Integer.parseInt(loginMessage.getOwerQQ()),loginMessage.getPwd());
//		new ParseMsgThread().start();
//		Thread sendmsgThread= new Thread( new SendMsgThread());
//		sendmsgThread.start();
//		
//		Thread QQfeelingThread= new Thread( new QQFeelingThread());
//		QQfeelingThread.start();
//		return isLogin;
		
		
		try {
			Thread.sleep(5000);
		} catch (Exception e) {
			// TODO: handle exception
		}
		return true;
	}

	public static WebQQLogin getInstance() {
		if(instance==null){
    		instance=new WebQQLogin();
    	}
    	return instance;
	}

}
